#!/bin/bash

read -p "请输入年份：" year
read -p "请输入月份：" month
read -p "请输入日期：" day

current_timestamp=$(date +%s)
input_timestamp=$(date +%s -d "$year-$month-$day")

diff=$(( (current_timestamp - input_timestamp) / (60*60*24) ))

echo "距离今天的天数为：$diff 天"


